package com.chuangan.releasetask.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by this on 2019/9/11 23:56
 */

@ConfigurationProperties(prefix = "alipay")
@Data
@Component
public class AliPayAccountConfig {


    // APPID
    public static String app_id = "2021002107679322";

    // 生成公钥时对应的私钥（填自己的）
    public static String private_key = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCCGXoiRg5SAFn1fgVWdnSLlgQBKk2BAZJCoNn2D73JY/YCSKAE2FdqYFiySXb0Df8bUC7R2lQ8y/F0qlgyeCuGS9OZ1ufRoKfOKRr4TpZh4zmmh3JL59YARjCa8lNYZh/Vy9fNmsZ0+hsyw+G+MHdlSv9HlybdJz19EMKrxViBzihACc1y4VWTeIBi1d2cC9MbyC3v9C3XfvKMWohscNDI2/y++ha3slf2VAPL1nSupRlmAa0LdqtEh8IGT4D2L9BaQs7zV8dfHpDHLX6RuiZu3Dc2QFsjmkY/xiBtp1fge1Jh+I7Am2i4Y1/iPvRxxDJ3T2UCvD/5254ehTAFMjzRAgMBAAECggEAdrqLdHXcocdCUcDFXEfUSoMIeovBmWb2tKmY4G8zM3RvUVw39NP+yszMhUB4N3gChUmiwM7wK1+vplnDDaQPjIrsvCuc+fkUyxdGTq9hnEnDFg/sJguYiD2GJBHcMANbMEDMXA3Q6XZKlgSfonMWszFDUXFG/XLPMbC3CA2cnTBayv0qJlWEfYUA0cbBAb9C3EjX2ZJJfP6ZfjIQSjPAgoCI9vZ9CcJeHtkbBmjzwlSCPqK1WrNiOm9AgxvUto7wRIj5RqMHrgKwP4m59UUseBR6iTrd3XniROzE1d/JMIsSNNyQZEjF5IyMZ/Ll/1tuUydzXHoAU7DDYgxZ6zEsQQKBgQC9BwBCD06WI6Bzrx/636cNFBIHr/z2RRI8JkD9DIow98FwSU225WN4B/ZcszSl0AAbfzgSIJlDvJoRXBFi3zE3QS6K6qOWeIzNk+vLpyV7GrnHlSuT2ya0fxKl3F51TMLVoouYpyTuUE/H/KocPgDwgAY5u9nK0RcXXum5j1UFCQKBgQCwMadp9kcDV/QZ6FsKrFU1MydKMJCKijo+6lQWk7904U8G/34WU+0sXQX0UJRxvObc8DizPq/brofGzRdgm7GSFba85w4gjdZclElkijfL7SAOz20rnJGeOwk0m5A1Ede2jasQIOoBuxuoWR44gw/WdsMvZRScVXQboFul41PziQKBgQCt8UpQf6tuR3x317gS8EnVpBlvT4f0ytyb0wvMkAR+SQ6NGDdWTUG6C4GuDg4tYvkmVGwxaiP/DAeuX81z8TRlxypgFMjSRz4yUqMRtU6tOIuqV99Q4MJ+J8zuKZoWULudQUU6BNzcG7U+r4eOE5Rjuzt/Vxh0JPIdxG5JHdc7mQKBgQCF4KTJoeUhiEIlMWWD/aAc9UpkV/RsIE3Tom/UW919LPnEYnvm8UxkiiZNFrFEnvl4ZVtf70Dmln36s7mQoZzSWIdqj9IvMDbyT4ZYy6FL5ViXiEr2eVg4N7lt7MotWOpkfs69SZUlTYvdZiHNZOCy37i9mXuIsnGv0C/zI4GVqQKBgQCk8todNJjcXm1kewZ2oGB3NFrIE9QhEDtUo1k+m4siB6PM++yI46gYR1WVfZh9q2UPaSL9ljle1qfDpJF/LYKLPRnX+A6VeoMjyiKQFvkQgLuE9DzFpecImkYDMpMwC6kjU8srYRfPZ82JWQuek711rUykNXcqpe7Mk+Y5hJkdhA==";

    //异步回调接口:得放到服务器上，且使用域名解析 IP
    public static String notify_url = "http://www.xyzhuanqian.com:8081/releasetask/pay/Alinotify";

    //支付宝网关（注意沙箱alipaydev，正式则为 alipay）不需要修改
    public static String url = "https://openapi.alipay.com/gateway.do";

    //编码类型
    public static String charset = "UTF-8";

    //数据类型
    public static String format = "json";

    // 公钥
    public static String public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAghl6IkYOUgBZ9X4FVnZ0i5YEASpNgQGSQqDZ9g+9yWP2AkigBNhXamBYskl29A3/G1Au0dpUPMvxdKpYMngrhkvTmdbn0aCnzika+E6WYeM5podyS+fWAEYwmvJTWGYf1cvXzZrGdPobMsPhvjB3ZUr/R5cm3Sc9fRDCq8VYgc4oQAnNcuFVk3iAYtXdnAvTG8gt7/Qt137yjFqIbHDQyNv8vvoWt7JX9lQDy9Z0rqUZZgGtC3arRIfCBk+A9i/QWkLO81fHXx6Qxy1+kbombtw3NkBbI5pGP8YgbadX4HtSYfiOwJtouGNf4j70ccQyd09lArw/+dueHoUwBTI80QIDAQAB";

    //签名类型
    public static String signtype = "RSA2";


}
